<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="col-sm-12">
			<form class="form-inline">
				<div class="form-group col-sm-6">
					<label for="year">年度</label> 
					<input type="text"
						class="form-control" name="year" id="year" placeholder="年度">
				</div>
				<div class="form-group col-sm-6">
					<label for="dept">部门</label>
					<select id="deptId" name="deptId" onchange="reLoad()" class="form-control">
					<option value="">--请选择--</option>
					<option th:each="dept :${deptList}" th:value="${dept.deptId}" th:text="${dept.name}"></option>
					</select>
					
					<label for="scoreUser">评分人</label>
					<select id="scoreUserId" name="scoreUserId" onchange="reLoad()" class="form-control">
						<option value="">--请选择--</option>
						<option th:each="user : ${sysUserList}" th:value="${user.userId}" th:text="${user.name}"></option>
					</select>
				</div> 
			</form>
			<div class="ibox">
				<div class="ibox-body">
					<div class="fixed-table-toolbar">
						<div class="columns pull-right">
							<button class="btn btn-success" onclick="reLoad()">查询</button>
						</div>
						<div class="columns pull-right col-md-2 nopadding">
							
						</div>
					</div>
					<table id="exampleTable" data-mobile-responsive="true">
					</table>
				</div>
			</div>
		</div>
	</div>
	<!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
		<div>
			<script type="text/javascript">
				var s_edit_h = 'hidden';
				var s_view_h = 'hidden';
			</script>
		</div>
		<div shiro:hasPermission="per:person:edit">
			<script type="text/javascript" >
				s_edit_h = '';
			</script>
			
		</div>
		<div th:if="${mStatus eq '0'}">
			<script type="text/javascript" >
				s_edit_h = 'hidden';
				
			</script>
		</div>
		<div shiro:hasPermission="per:person:view">
			<script type="text/javascript">
				var s_view_h = '';
			</script>
		</div>
		
	</div>
	<div th:include="include :: footer"></div>
	<script type="text/javascript" src="/js/appjs/per/report/team_report.js"></script>
	<script type="text/javascript" src="/laydate/laydate.js"></script>
	<script type="text/javascript">
		laydate.render({
			elem : '#year',
			type : 'year',
			done : function(value, date) {
				//alert('你选择的日期是：' + value + '\n获得的对象是' + JSON.stringify(date));

			}
		})
		
	</script>
</body>
</html>